package edu.whut.test;

import java.util.Scanner;

/*
将手机号中间四位变成****
eg：187****0143
 */
public class StringTest03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        String result = "";
        result = str.substring(0,3)+"****"+str.substring(7);
        System.out.println(result);

    }
}
